/**
 * 
 */
package light.mvc.service.books;

import java.util.List;

import light.mvc.pageModel.base.PageFilter;
import light.mvc.pageModel.base.Tree;
import light.mvc.pageModel.books.BooksModel;
import light.mvc.pageModel.books.Material;

/**
 * @author laijianbo
 * 2014-5-22下午12:56:14
 */
public interface BooksServiceI{
	public abstract List<BooksModel> dataGrid(BooksModel paramBooksModel, PageFilter paramPageFilter);

	public abstract Long count(BooksModel paramBooksModel, PageFilter paramPageFilter);

	public abstract void add(BooksModel paramBooksModel);

	public abstract void delete(Long paramLong);

	public abstract void edit(BooksModel paramBooksModel);

	public abstract BooksModel get(Long paramLong);

	public abstract void grant(BooksModel paramBooksModel);

	public abstract List<Tree> tree();

	public abstract List dataGrid(Material material, PageFilter ph);

	public abstract Long count(Material material, PageFilter ph);
}
